﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AviagePortal.Entity
{
    public partial class ProductItem 
    {
        public string PageTitle { get; set; }
        public string KeyFeatureLabel { get; set; }
        public string IntroduceLabel { get; set; }
        public string ID { get; set; }
        [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "Picture", Storage = "_picture", FieldType = "Text")]
        public string Title
        {
            get;
            set;
        }

        [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "Order0", Storage = "_order", FieldType = "Number")]
        public System.Nullable<double> Order
        {
            get;
            set;
        }

        [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "ArticleTitle", Storage = "_articleTitle", FieldType = "Text")]
        public string ArticleTitle
        {
            get;
            set;
        }

        [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "Introduction", Storage = "_introduction", FieldType = "Note")]
        public string Introduction
        {
            get;
            set;
        }

        [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "Feature", Storage = "_feature", FieldType = "Note")]
        public string Feature
        {
            get;
            set;
        }

        [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "Pictures", Storage = "_pictures", FieldType = "Note")]
        public List<PictureItem> Pictures
        {
            get;
            set;
        }

        [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "Language", Storage = "_language", FieldType = "Choice")]
        public string Language
        {
            get;
            set;
        }

        [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "DeviceType", Storage = "_deviceType", FieldType = "Choice")]
        public string DeviceType
        {
            get;
            set;
        }
    }
}

public class PictureItem {
   public string LargePicture { get; set; }
   public string SmallPicture { get; set; }
}
